package org.mx.test.multi.db.entity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

import org.mx.dal.entity.BaseDictTree;
import org.mx.dal.entity.BaseDictTreeEntity;

import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

@SuppressWarnings("javadoc")
@Entity()
@Table(name = "TB_USER")
@ToString(callSuper = true)
@Getter
@Setter
public class DbUserEntity extends BaseDictTreeEntity<DbUserEntity> implements BaseDictTree<DbUserEntity> {
	private static final long serialVersionUID = 1753947639744216204L;
	@Column(name = "ACCOUNT_ID", length = 40)
	private String accountId;
	@Column(name = "ACCOUNT_CODE", length = 30)
	private String accountCode;
	@Column(name = "ACCOUNT_NAME", length = 100)
	private String accountName;
	@Column(name = "EMAIL", length = 50)
	private String email;
	@Column(name = "ADDRESS")
	private String address;
	@Column(name = "POST_CODE", length = 20)
	private String postCode;
	@Column(name = "MOBILE", length = 20)
	private String mobile;
}